package cn.mazexal.examapi.models.qry;

import cn.mazexal.examapi.common.models.PagedQry;
import lombok.Data;

/**
 * @author: Mazexal
 * Date: 2025/8/25
 */
@Data
public class OrderQry extends PagedQry {

    private Long beginTime;

    private Long endTime;

    private Long userId;

    public Long getBeginTime() {
        if (beginTime == null) {
            return 0L;
        }
        return beginTime;
    }

    public Long getEndTime() {
        if (endTime == null) {
            return System.currentTimeMillis();
        }
        return endTime;
    }
}
